<?php
ob_start();
session_start();

function __autoload($class_name) {
include './'.$class_name . '.php';
}
$ordertoremove = $_GET['orderno'];
$cart = $_SESSION['cart'];
if(is_null($cart)){
echo -1;		
}else{
$cart ->  removeOrder($ordertoremove);
}
echo 1;
ob_end_flush();
?>
